home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2524 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.9 KB

  1. Path: in2.uu.net!van-bc!usenet
  2. From: George Pava <gpava@wimsey.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: OWL Application
  5. Date: Wed, 17 Jan 1996 10:04:07 -0800
  6. Organization: Online at Wimsey
  7. Message-ID: <30FD3A17.1E85@wimsey.com>
  8. NNTP-Posting-Host: pm010.bby.wis.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b4a (Win16; I)
  13.  
  14. Hi!
  15. I am working with BC 4.5  and trying to write an OWL application.
  16.  
  17. My main class (called Wind) is derived from TWindow. A member of the
  18. class is a pointer to a class (called TButtonPallette) derived from
  19. TFloatingFrame that is holding a TToolBox object with TButtonGadget
  20. objects . In InitMainWindow, I create a TDecoratedFrame to whom I pass,
  21. as a client, a pointer to a Wind object. Everything works fine.
  22.  
  23. I would like now to implement a context sensitive help. The only way I
  24. could find to do this is by overriding the EvEnterIdle response function.
  25. However, I can't do this while having Wind only a TWindow class because
  26. it doesn't respond to EV_WM_ENTERIDLE message. Therefore, I changed Wind
  27. to be derived from TDecoratedFrame (it didn't really matter for the rest
  28. of the application), took out TButtonPallette pointer member. In
  29. InitMainWindow I created a Wind object with TButtonPallette as a client
  30. and set it as a MainWindow. Wind has also a vertical scroll bar.
  31.  
  32. The problem I have is the following: for the first displayed screen
  33. (Iwork with the window maximized)I don't get any response from the
  34. mouse,;I can select gadgets from the tool box but I can't do anything
  35. with them.  As soon as I scrool down,beginning with the second "screen
  36. page" my mouse works fine; even if I have on my window half of the first
  37. screen page and half of the second. My F1 works having Wind implemented
  38. like this, but I can't solve the problem I ran into.
  39.  
  40. Any suggestions? I tried other things but they ended up even worse.
  41. Thanks a lot,
  42. Cristina Pava
  43. gpava@wimsey.com
  44.